package com.ruoyi.mapper;

import com.ruoyi.domain.Welfareinstitution;

import java.util.List;

/**
 * WelfareinstitutionMapper接口
 * 
 * @author wjy
 * @date 2025-01-11
 */
public interface WelfareinstitutionMapper 
{
    /**
     * 查询Welfareinstitution
     * 
     * @param institutionId Welfareinstitution主键
     * @return Welfareinstitution
     */
    public Welfareinstitution selectWelfareinstitutionByInstitutionId(Long institutionId);

    /**
     * 查询Welfareinstitution列表
     * 
     * @param welfareinstitution Welfareinstitution
     * @return Welfareinstitution集合
     */
    public List<Welfareinstitution> selectWelfareinstitutionList(Welfareinstitution welfareinstitution);

    /**
     * 新增Welfareinstitution
     * 
     * @param welfareinstitution Welfareinstitution
     * @return 结果
     */
    public int insertWelfareinstitution(Welfareinstitution welfareinstitution);

    /**
     * 修改Welfareinstitution
     * 
     * @param welfareinstitution Welfareinstitution
     * @return 结果
     */
    public int updateWelfareinstitution(Welfareinstitution welfareinstitution);

    /**
     * 删除Welfareinstitution
     * 
     * @param institutionId Welfareinstitution主键
     * @return 结果
     */
    public int deleteWelfareinstitutionByInstitutionId(Long institutionId);

    /**
     * 批量删除Welfareinstitution
     * 
     * @param institutionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWelfareinstitutionByInstitutionIds(Long[] institutionIds);
}
